import waveRequest from "@/api/request.js";

export const userRoleSave = (data) => waveRequest({
    method: 'post',
    url: '/userRole/save',
    data
})

export const userRoleDelete = (ids) => waveRequest({
    url: '/userRole/delete',
    method: 'post',
    data: {ids: ids}
})

export const userRoleModify = (data) => waveRequest({
    url: '/userRole/modify',
    method: 'post',
    data
})

export const userRoleQuery = (data) => waveRequest({
    url: '/userRole/query',
    method: 'post',
    data
})

export const userRoleList = (data) => waveRequest({
    url: '/userRole/list',
    method: 'post',
    data
})

export const userRolePage = (data) => waveRequest({
    url: '/userRole/page',
    method: 'post',
    data
})